package com.sbtr.open.publishtask.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据类部署任务表
 * </p>
 *

 */
public class PublishTaskDataDto implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 任务状态:下线
	 */
	public static final String TASK_STATUS_UNPUBLISH = "unpublish";
	/**
	 * 任务状态:上线
	 */
	public static final String TASK_STATUS_PUBLISHED = "published";

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 任务名称
	 */
	private String taskName;

	/**
	 * 模型id，关联模型表
	 */
	private Long modelId;

	/**
	 * 任务状态
	 */
	private String status;

	/**
	 * 任务描述
	 */
	private String taskDesc;

	/**
	 * 创建者
	 */
	private String creater;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 发布者
	 */
	private String publisher;

	/**
	 * 发布时间
	 */
	private Date publishTime;

	/**
	 * 调用失败次数
	 */
	private Integer failCount;

	/**
	 * 调用总次数
	 */
	private Integer totalCount;

	/**
	 * 运行时间,单位秒
	 */
	private Long runningTime;

	/**
	 * 模型名称
	 */
	private String modelName;

	/**
	 * 关联项目id
	 */
	private Long projectId;
	/**
	 * 项目名称
	 */
	private String projectName;
	/**
	 * 唯一id
	 */
	private String appId;
	/**
	 * appkey
	 */
	private String appKey;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Long getModelId() {
		return modelId;
	}

	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTaskDesc() {
		return taskDesc;
	}

	public void setTaskDesc(String taskDesc) {
		this.taskDesc = taskDesc;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public Integer getFailCount() {
		return failCount;
	}

	public void setFailCount(Integer failCount) {
		this.failCount = failCount;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Long getRunningTime() {
		return runningTime;
	}

	public void setRunningTime(Long runningTime) {
		this.runningTime = runningTime;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

}
